package com.yjz.zpay.utils;

/**
 * @author yjz
 *         created at 2019/1/17 下午9:16
 */

public class StringUtils {





    public static String getTextCenter(String paramString1, String paramString2, String paramString3) {
        try {
            int i = paramString1.indexOf(paramString2) + paramString2.length();
            paramString1 = paramString1.substring(i, paramString1.indexOf(paramString3, i));
            return paramString1;
        } catch (Exception p) {
            p.printStackTrace();
        }
        return "error";
    }


}
